package com.ocn.li.scmdy.modules.app.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * TODO app端手机登录表单
 *
 * @author crazypenguin
 * @version 1.0.0
 * @createdate 2019/1/2
 */
@ApiModel(value = "登录表单")
@Data
public class LoginForm {
    @ApiModelProperty(value = "手机号")
    @NotBlank(message="手机号不能为空")
    private String mobile;

    @ApiModelProperty(value = "渠道编号")
    @NotBlank(message="渠道编号不能为空")
    private String code;

}
